/*STYLE TO REMOVE ALL PADDING AND MARGIN FOR WEBSITES*/
*{
    padding:0;
    margin:0;
    font-family: 'Playfair Display', serif;
}
/*//////////////////////////////////////////////////////////*/

/*STYLE TO REMOVE CSS FOR SIDEBAR AND ASIDE ELEMENTS*/
.clear{
    clear:both;
}
/*//////////////////////////////////////////////////////////*/

/*STYLE FOR CONTAINER ELEMENT FOR CONTENT OF HTML PAGE*/
.container{
    width: 90%;
    margin: auto;
    position: relative;
    top:-75px;
    border-radius: 5px;
    

}

/*//////////////////////////////////////////////////////////*/

/*STYLE FOR FONT OF WEBPAGE*/
body{
    font-family: 'Playfair Display', serif;
    line-height: 2em;
}

/* STYLE FOR HEADER HTML ELEMENTS */

.headerTitle{
  font-size: 40px;
  font-family: 'Playfair Display', serif;
  text-align: center;
  margin-top: 5px;
  font-weight: bold;
  max-width: 100%;
  color: black;
}

.headerQuote{
    font-size: 25px;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    padding-top: 15px;
    padding-left: 10px;
    text-align: center;
    font-weight: bold;
    color: black;


}
/*//////////////////////////////////////////////////////////*/
/* STYLE FOR HEADSHOT IMAGE ELEMENT */

.image{
    display: flex;
    justify-content: center;
    align-items:center;
    padding:0;
    margin:0;
    position: relative;
    padding-left: 20px;
}

.image img{
    display: block;
    height: 109px;
    width: 109px;
    border-radius: 50%;
    margin-right: 90%;
    margin-bottom: 20px;
    border: 5px solid black;
    position: relative;
    top: -85px;
}
/*//////////////////////////////////////////////////////////*/

/*STYLE FOR POP UP ELEMENT OF HTML PAGE*/
.popup .overlay{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    z-index: 1;
    display: none;
}

.popup .content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)scale(0);
    background: #fff;
    width: 850px;
    height: 400px;
    z-index: 2;
    text-align: center;
    padding: 50px;
    box-sizing: border-box;
    border-radius: 50px;
    background-color: black;
    color: white;
}

.popup .close-btn{
    position: absolute;
    cursor: pointer;
    right: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    background: #222;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
}

.popup.active .overlay{
    display: block;
}

.popup.active .content{
    transition: all 300ms ease-in-out;
    transform: translate(-50%,-50%) scale(1);
}

.popUp h1{
    font-size: 40px;
}

.content li span{
    margin-top: 10px;
    position: relative;
    left:-10px;
    top:30px;
    font-size: 30px;
    line-height: 1.8;
}

.content ul{
    list-style: none;
    margin-top: 3%;
}

/*//////////////////////////////////////////////////////////*/

/*STYLE FOR CONTENT ELEMENTS FOR CONTENT OF HTML PAGE*/

.contentSection{
    float:left;
    width:70%;
    padding: 10px 50px;
    box-sizing: border-box;
    font-size: 23px;
    line-height: 2;
    position: relative;
    bottom:200px;
}

.indent{
    text-indent: 50px;
}

.firstParagraph{
    padding-bottom: 15px;
}

.secondParagraph{
    padding-bottom: 15px;
}

.thirdParagraph{
    padding-bottom: 30px;
}


/*//////////////////////////////////////////////////////////*/


/* STYLE FOR NAV HTML ELEMENTS /////////////////////////////////*/

.navigationBar{
    background-color: lightblue;
    position: relative;
    min-width: 320px;
    margin-bottom: 20px;
    top:-95px;
}

nav a{
    color: black;
}

nav a:hover{
    color: white;
}

nav li{
    position:relative;
    top:-3px;
    list-style: none;
    text-decoration: none;
    display: inline;
    padding-left:5em;
    padding-right:5em;
    font-family: 'Playfair Display', serif;
    font-size:25px;

}

a:link{
    text-decoration: none;
}

.navigationBorder{
    border-top: 2.5px solid black;
    border-bottom: 2.5px solid black;
    height: 30px;
    width: 100%;
    text-align: center;
}
/*//////////////////////////////////////////////////////////*/

/* STYLE FOR YOUTUBE VIDEO /////////////////////////////////*/
.iframe-container{
    position: relative;
    width:100%;
    padding-top:2%;
}

.iframe-container iframe{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width:90%;
    border:2px black dashed;
    width: 100%;
}

#videoCaption{
    color:black;
    font-size: 19px;
}
/*//////////////////////////////////////////////////////////*/
/* STYLE FOR ASIDE HTML ELEMENTS /////////////////////////////////*/

.asideBox{
    background-color: lightblue;
    border:2px black solid;
    padding: 5px;
    border-radius: 15px;
    float:right;
    width:30%;
    box-sizing: border-box;
    margin-bottom: 60px;
    position: relative;
    bottom:-100px;
}

.asideBox p{
    text-align: center;
    margin:auto;
    padding:0px;
    margin: 0px;
    color:red;
    
}

#videoCaption{
    font-size: 25px;
}

.iframe-container{
    position: relative;
    width:100%;
    padding-top:2%;
}

.iframe-container iframe{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width:90%;
    border:2px black dashed;
}

/*//////////////////////////////////////////////////////////*/
.resumeHeading{
    text-align: center;
    font-size: 50px;
    position: relative;
    bottom: 60px;

}

/* STYLE FOR COMPUTER IMAGE HTML ELEMENT /////////////////////////////////*/
.computer{
    margin: auto;
    padding: auto;
    display: block;
    height:150px;
    width:150px;
    
}

.year a{
    color: black;
}
/* STYLE FOR FOOTER HTML ELEMENTS /////////////////////////////////*/
.footerElement{
    width: 100%;
    height:300px;
    margin: auto;
    text-align: center;
    border-top: 2px black solid;
    background-color:lightblue;
    font-size: 23px;
    line-height: 1.5;
    font-weight: bold;
    color:black;
}

.footerElement h1 h2 h3{
    color: black;
    font-weight: bold;
}

#time{
    font-weight: bold;
    font-size: 20px;
}

#time p{
    margin: 0 0 500px 0;
}
/*//////////////////////////////////////////////////////////*/
@import url(https://fonts.googleapis.com/css?family=Fira+Sans:200,400,500);

@mixin border-radius($radius) {
  -webkit-border-radius: $radius;
  -moz-border-radius: $radius;
  -ms-border-radius: $radius;
  border-radius: $radius;
}

* {
  border: 0;
  margin: 0;
  padding: 0;
}
html {
  height: 100%;
}
body {
  height: inherit;
  display: flex;
  flex-direction: column;
  font-family: 'Fira Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;}
a {
  color: #50585f;
  text-decoration: none;
  &:hover {
    color: #383e44;
  }
}

div.container {
  display: flex;
  flex: auto;
  flex-direction: column;
  max-height: 100%;
  border: 3px solid black;
  padding: 0;
  margin-bottom: 100px;
}
div.header {
  height: auto;
  text-align: center;
  background: lightblue;
  border-bottom: 3px solid black;
  padding: 2.3rem 1rem 2.3rem 1rem;
  position: relative;
  &:after{
    content: '';
    position: absolute;
    bottom: -5rem;
    left: 0rem;
    height: 5.1rem;
    display: block;
    width: 100%;
    z-index: 300;
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 100%); 
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 20%,rgba(255,255,255,0) 100%); 
    background: linear-gradient(to bottom, rgba(255,255,255,1) 20%,rgba(255,255,255,0) 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); 
  }
  h1 {
    margin: { 
      top: .8rem;
      bottom: .5rem;
    }
    font: {
      weight: 200;
      size: 1.6em;
    }
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    @media (min-width: 62em) {
      font-size: 1.9em;
      letter-spacing: 0.2rem;
    }
  }
  h2 {
    font: {
      size: 1.1em;
      weight: 400;
    }
    color: #cfd7de;
    max-width: 30rem;
    margin: auto;
  }
}

div.item {
  display: flex;
  flex: auto;
  overflow-y: auto;
  padding: 30px;
  font-size: 19px;
  height: 5000px;
}

#timeline {
  position: relative;
  display: table;
}

.computer{
    border-radius: 20px;
    text-align: center;
}

.resume-title{
    text-align: center;
}

@media (max-width:1200px){
    .headerTitle{
        display: block;
    }
          
    .headerQuote{
        display: block;
    }
    
    .image{
        display: block;
    }

    #headshot{
        display: block;
        margin: auto;
        position: relative;
        top:9px;
    }
    .navigationBar{
        position: relative;
        min-width: 320px;
        margin-bottom: 20px;
        top:20px;
    }
    nav li{
        font-size:20px;
    }
    .container{
        top:40px;
    }
    #displayGreeting{
        display: inline;
        font-size: 30px;
    }
    .firstParagraph{
        padding-top: 15px;
    }
    .asideBox{
        bottom:-10px;
    }
    .footerElement{
    width: 100%;
    height:300px;
    text-align: center;
    border-top: 2px black solid;
    background-color:lightblue;
    font-size: 23px;
    line-height: 1.5;
    }
}


@media (max-width:950px){
    nav li{
        font-size:20px;
        padding:0 40px 0;
        text-align: center;
    }
    
    #displayGreeting{
        font-size:25px;
        display: inline;
        padding: 0;
        width: 100%;
    }
    #displayGreeting p {
        margin-left: auto;
        margin-right: auto;
    }
    .contentSection{
        font-size: 20px;
        width:100%;
        clear: left;
    }
    .asideBox{
        display: flex;
        justify-content: center;
        clear: both;
        width: 40%;
        right:30%;
    }
    .firstParagraph{
        padding-top: 20px;
    }
    #ratingBox{
        width:20%;
    }

    .popUp .content{
        width: 650px;
        height: 380px;
    }
    
    .popUp h1{
        font-size: 30px;
    }

    .content li span{
        position: relative;
        left:-10px;
        top:30px;
        font-size: 25px;
        line-height: 1.8;
    }
    .footerElement{
        width: 100%;
        height:300px;
        margin: auto;
        text-align: center;
        border-top: 2px black solid;
        background-color:lightblue;
        font-size: 23px;
        line-height: 1.5;
        }
}

@media (max-width:814px){
    .headerTitle{
      font-size: 29px;
    }
  }

@media (max-width:719px){
  nav li{
    padding:0 40px 0;
    font-size:20px;
    text-align: center;
  }
}

@media (max-width:594px){
    nav li{
      padding:0 20px 0;
      font-size:18px;
      text-align: center;
    }
    .footerElement{
        width: 100%;
        height:300px;
        margin: auto;
        text-align: center;
        border-top: 2px black solid;
        background-color:lightblue;
        font-size: 23px;
        line-height: 1.5;
  }
}

  @media (max-width:440px){
    nav li{
      display: block;
      margin-left:25px;
      font-size: 20px;
    }
    .navigationBar{
        height:100px;
    }
    .navigationBorder{
        height:96px;
    }
    .asideBox{
        width:250px;
        position: relative;
        right:60px;
  }
  #displayGreeting{
    display: inline;
    font-size: 25px;
  }
  .headerTitle{
    line-height: 1;
  }
  .footerElement{
    width: 100%;
    height:300px;
    margin: auto;
    text-align: center;
    border-top: 2px black solid;
    background-color:lightblue;
    font-size: 23px;
    line-height: 1.5;
    }
  
 }